import { Tabs } from "antd";
import VText from "../components/Text";
import Stepper from "../components/Stepper";
import VSlider from "../components/Slider/inedx";
import Group from "../components/Group";
import VSwitch from "../components/Switch";
import VSelect from "../components/Select";
import VCheckbox from "../components/Checkbox";
import VRadio from "../components/Radio";
import ColorPicker from "../components/ColorPicker";
import CodeEditor from "../components/CodeEditor";
import Suite from "../components/Suite";
import VMargin from "../components/Margin";
import VArray from "../components/VArray";
import VType from "../components/VType";
/* 内置渲染GUI面板控件 */
export const defaultComponentMapping: { [key: string]: any } = {
  text: VText,
  group: Group,
  slider: VSlider,
  stepper: Stepper,
  menu: Tabs,
  tab: Tabs.TabPane,
  switch: VSwitch,
  select: VSelect,
  checkbox: VCheckbox,
  radio: VRadio,
  color: ColorPicker,
  codeEditor: CodeEditor,
  suite: Suite,
  margin: VMargin,
  array: VArray,
  type: VType
}